const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // avatar: state => state.user.avatar,
  name: state => state.user.userInfo.username,
  userId: state => state.user.userInfo.userId,
  staffPhoto: state => state.user.userInfo.staffPhoto
  // staffPhoto: state => {
  //   return 'http://yutoubaba-1305876176.cos.ap-nanjing.myqcloud.com/qqseqweqweqwweq.png'
  // }
}
export default getters
